﻿using System;
using System.Diagnostics;

namespace OpenLS.Spreadsheet
{
#if DEBUG
    public class MyListener: TraceListener
    {
        public static void Init()
        {
            if (done)
                return;
            done = true;
            System.Diagnostics.Debug.Listeners.Add(new MyListener());
        }

        private static bool done;
        public override void Write(string message)
        {
            
        }

        public override void WriteLine(string message)
        {
            
        }
    }
#endif
}